<html><head><title>Sprite</title></head>
<body bgcolor="#EFF1F0" link="#3A3966" vlink="#000000" alink="#000000">
<font face="Verdana, sans-serif" size="2"><p align="center"><b><font size="4">PureBasic - Sprite</font></b></p>

<p><b>Overview</b></p><blockquote>


'Sprites' are well known from game players. These are small pictures, sometimes 
called 'brushes', which can be displayed at any position on a screen. The 
sprites can move over graphics using a transparent layer. Even better, PureBasic allows 
you to perform real-time effects like real shadow, alphablending, coloring, zoom, rotation 
all this in windowed or full screen mode ! <br>
<br>
After initializing the screen and sprite environment via <a href="initsprite.html">InitSprite()</a> 
you can start opening a <a href="../screen/openscreen.html">full-size</a> or <a href="../screen/openwindowedscreen.html">windowed</a> screen. 
<br>
<br>
<b>Windows</b>: DirectX 9 is used for screen creation which your programs to use hardware acceleration if available. 
Two additional <a href="../reference/ide_compiler.html">Subsystems</a> are also available, depending of the needs: &quot;OpenGL&quot; and &quot;DirectX11&quot; which 
respectively leverage OpenGL and DirectX11 to handle screen creation. 
<br>
<br>
<b>Linux</b>: OpenGL is used to manage the screen which allows to use hardware acceleration. 
<br>
<br>
<b>MacOS X</b>: OpenGL is used to manage the screen which allows to use hardware acceleration. 


</blockquote><p><b>Command Index</b><blockquote>
<a href="catchsprite.html">CatchSprite</a><br>
<a href="clipsprite.html">ClipSprite</a><br>
<a href="copysprite.html">CopySprite</a><br>
<a href="createsprite.html">CreateSprite</a><br>
<a href="displaysprite.html">DisplaySprite</a><br>
<a href="displaytransparentsprite.html">DisplayTransparentSprite</a><br>
<a href="freesprite.html">FreeSprite</a><br>
<a href="grabsprite.html">GrabSprite</a><br>
<a href="initsprite.html">InitSprite</a><br>
<a href="issprite.html">IsSprite</a><br>
<a href="loadsprite.html">LoadSprite</a><br>
<a href="rotatesprite.html">RotateSprite</a><br>
<a href="savesprite.html">SaveSprite</a><br>
<a href="spriteblendingmode.html">SpriteBlendingMode</a><br>
<a href="spritecollision.html">SpriteCollision</a><br>
<a href="spritedepth.html">SpriteDepth</a><br>
<a href="spriteheight.html">SpriteHeight</a><br>
<a href="spriteid.html">SpriteID</a><br>
<a href="spriteoutput.html">SpriteOutput</a><br>
<a href="spritepixelcollision.html">SpritePixelCollision</a><br>
<a href="spritequality.html">SpriteQuality</a><br>
<a href="spritewidth.html">SpriteWidth</a><br>
<a href="transformsprite.html">TransformSprite</a><br>
<a href="transparentspritecolor.html">TransparentSpriteColor</a><br>
<a href="zoomsprite.html">ZoomSprite</a><br>
</blockquote></p>

<p><b>Example</b></p><blockquote>
<a href="../Examples/Sprite.pb.html">Sprite.pb</a>

<br><a href="../Examples/WindowedScreen.pb.html">WindowedScreen.pb</a>

</Blockquote><p><b>Supported OS </b><Blockquote>All</Blockquote></p><center><a href="../index.html">Reference Manual - Index</a></center><br><br>

</body></html>